/* Effect of job characteristics on being in a complex echange job */

#delimit ;

version 8;
set mem 100m;
 
log using table3, replace text;
 


/*private sector only*/


u psid76_2004_jleo;



/* relational job */



xi: reg relational_job finger ehf sts dcp math numobs educ potexp tenure married collbarg nonwhite 
i.year i.ind1dg
    [aw=iweight], cluster(occ70);
test (sts=0) (finger=0) (ehf=0) (dcp=0) (math=0);

xi: reg relational_job finger ehf sts dcp math numobs educ potexp tenure married collbarg nonwhite 
i.year i.occcat i.ind1dg
    [aw=iweight], cluster(occ70);
test (sts=0) (finger=0) (ehf=0) (dcp=0) (math=0);

xi: dprobit relational_job finger ehf sts dcp math numobs educ potexp tenure married collbarg nonwhite 
i.year i.ind1dg
    [aw=iweight], cluster(occ70);
test (sts=0) (finger=0) (ehf=0) (dcp=0) (math=0);

xi: dprobit relational_job finger ehf sts dcp math numobs educ potexp tenure married collbarg nonwhite 
i.year i.occcat i.ind1dg
    [aw=iweight], cluster(occ70);
test (sts=0) (finger=0) (ehf=0) (dcp=0) (math=0);

xi: areg relational_job finger ehf sts dcp math numobs educ potexp tenure married collbarg nonwhite 
i.year i.ind1dg
    [aw=iweight], cluster(occ70) absorb(id);
test (sts=0) (finger=0) (ehf=0) (dcp=0) (math=0);

xi: areg relational_job finger ehf sts dcp math numobs educ potexp tenure married collbarg nonwhite 
i.year i.occcat i.ind1dg
    [aw=iweight], cluster(occ70) absorb(id);
test (sts=0) (finger=0) (ehf=0) (dcp=0) (math=0);



log close;
clear;
 
